<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/base.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui-v2.6.8/layui/css/layui.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui-v2.6.8/layui/css/layui.css"  media="all">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/common.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/changegood.css">
</head>
<body>
<div class="mnav ">
    <div class="w">
        <div class="logo fl"><a href="${pageContext.request.contextPath}/allStock">LOGO</a></div>
        <div class="mg_lon fr"><a href="${pageContext.request.contextPath}/tologout">管理员退出</a></div>
    </div>
</div>
    <div class="cg_good">
        <form action="${pageContext.request.contextPath}/toupdateStock">
            商品编号：&nbsp;&nbsp;<input type="radio" name="stock_id" value="${stock2.stock_id}" checked/>${stock2.stock_id}<br/><br/>
            商品名称：&nbsp;&nbsp;<input type="text" name="product" value="${stock2.product}"/><br/><br/>
            价&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;格：&nbsp;&nbsp;<input type="text" name="price" value="${stock2.price}"/><br/><br/>
            S:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="s" value="${stock2.s}"/><br/><br/>
            M:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="m" value="${stock2.m}"><br/><br/>
            L:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="l" value="${stock2.l}"><br/><br/>
            总&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;数：&nbsp;&nbsp;&nbsp;<input type="text" name="quantity" value="${stock2.quantity}"><br/><br/>
            图片地址：&nbsp;&nbsp;<input type="text" name="url" value="${stock2.url}"><br/><br/>
            状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：&nbsp;&nbsp;&nbsp;<input type="text" name="status" value="${stock2.status}"><br/><br/>
            <input type="submit" value="修改" class="cg_sub"><br/>
        </form>
    </div>
</body>
</html>